package studio.raptor.databus.graph.domain;

import java.util.List;
import javax.validation.Valid;

/**
 * @author jack
 * @since 1.0
 */
public class Events {

  @Valid
  private List<Event> events;

  public List<Event> getEvents() {
    return events;
  }

  public void setEvents(List<Event> events) {
    this.events = events;
  }

  @Override
  public String toString() {
    return "Events{" +
        "events=" + events +
        '}';
  }
}
